from relex.generators.text import TextGenerator
		
class TGLexSequence(TextGenerator):
	def generate(self):
		for seq in self.qresult:
			yield '%s %s %s %s %s\n' %(seq.doc_id, seq.part_id, seq.seqno)
